﻿using Microsoft.AspNetCore.Mvc.Rendering;
using System.Collections.Generic;
using Webdiyer.AspNetCore;

namespace PlatformNetCore.Entity
{
    #region 首页数据统计
    public class AdminInfo
    {
        /// <summary>
        /// 文献
        /// </summary>
        public int DocumentCount { get; set; }
        /// <summary>
        /// 员工分享
        /// </summary>
        public int ShareCount { get; set; }
        /// <summary>
        /// 视频中心
        /// </summary>
        public int VideosCount { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public int ImagesCount { get; set; }
        /// <summary>
        /// 招聘岗位数
        /// </summary>
        public int JobsCount { get; set; }
        /// <summary>
        /// 友情链接
        /// </summary>
        public int PartnerCount { get; set; }
        /// <summary>
        /// 留言数量
        /// </summary>
        public int SubscribeCount { get; set; }
        /// <summary>
        /// 留言数量
        /// </summary>
        public int FAQsCount { get; set; }
        /// <summary>
        /// 广告数量
        /// </summary>
        public int AdCount { get; set; }
        /// <summary>
        /// 页面
        /// </summary>
        public int PageCount { get; set; }
    }
    #endregion

    #region 前台首页
    public class HomeInfo
    {
        public SinglePage SinglePageIndex { get; set; }
        public List<Partner> Partners { get; set; }
        public List<Videos> Videos { get; set; }
        public SinglePage SinglePageJoinUs { get; set; }
    }
    #endregion

    #region 关于我们
    public class AboutInfo
    {
        public Ad Ad { get; set; }
        /// <summary>
        /// 关于我们
        /// </summary>
        public SinglePage SinglePage { get; set; }
        /// <summary>
        /// 企业资质
        /// </summary>
        public List<Images> Images { get; set; }
        public Videos Video { get; set; }
    }
    #endregion

    #region 配药安全
    public class SafetyInfo
    {
        public Ad Ad { get; set; }
        public SinglePage SinglePage { get; set; }
        public List<Videos> Videos { get; set; }
    }
    #endregion
    
    #region 产品中心
    public class ProductInfo
    {
        public Ad Ad { get; set; }
        public SinglePage SinglePage { get; set; }
        public Videos Video { get; set; }
    }
    #endregion

    #region 数据中心
    public class DataCenterInfo
    {
        public Ad Ad { get; set; }
        /// <summary>
        /// 文献
        /// </summary>
        public PagedList<News> NewsList { get; set; }
        /// <summary>
        /// 全国医院覆盖区域
        /// </summary>
        public SinglePage SinglePage { get; set; }
        /// <summary>
        /// 专家支持
        /// </summary>
        public PagedList<Images> Images { get; set; }
    }
    #endregion

    #region 招贤纳士
    public class JobsInfo
    {
        public Ad Ad { get; set; }
        /// <summary>
        /// 人才理念
        /// </summary>
        public SinglePage SinglePage { get; set; }
        /// <summary>
        /// 职能类型
        /// </summary>
        public List<SelectListItem> JobsTypeList { get; set; }
        /// <summary>
        /// 职位类型
        /// </summary>
        public List<SelectListItem> PositionTypeList { get; set; }
        /// <summary>
        /// 职位搜索
        /// </summary>
        public PagedList<Jobs> Jobs { get; set; }
    }
    /// <summary>
    /// Job详情
    /// </summary>
    public class JobsDetail
    {
        /// <summary>
        /// 广告
        /// </summary>
        public Ad Ad { get; set; }
        /// <summary>
        /// Jobs
        /// </summary>
        public Jobs Jobs { get; set; }
    }
    #endregion

    #region 员工分享
    public class EmployeeInfo
    {
        public Ad Ad { get; set; }
        public PagedList<Images> Images { get; set; }
        public List<News> News { get; set; }
    }
    public class EmployeeDetail
    {
        public Ad Ad { get; set; }
        public News News { get; set; }
    }
    #endregion

    #region 客服中心
    /// <summary>
    /// 客服中心
    /// </summary>
    public class CustomerInfo
    {
        public Ad Ad { get; set; }
        /// <summary>
        /// 常见问题
        /// </summary>
        public List<FAQs> FAQs { get; set; }
        /// <summary>
        /// 联系我们
        /// </summary>
        public SinglePage SinglePage { get; set; }
    }
    #endregion

    #region 创新
    public class InnovateInfo
    {
        /// <summary>
        /// 创新
        /// </summary>
        public News NewsFirst { get; set; }
        public News NewsSecond { get; set; }
        public News NewsThird { get; set; }
        public News NewsFour { get; set; }
        public News NewsFive { get; set; }
    }
    #endregion

    #region 支持
    public class SupportInfo
    {
        /// <summary>
        /// FQAs,服务,下载类型
        /// </summary>
        public List<FAQsInfo> FAQsInfoList { get; set; }
        /// <summary>
        /// 服务
        /// </summary>
        public List<ServiceInfo> ServiceInfoList { get; set; }
        /// <summary>
        /// 下载
        /// </summary>
        public List<DownLoadInfo> DownLoadInfoList { get; set; }
    }
    public class FAQsInfo
    {
        public Category Category { get; set; }
    }
    public class ServiceInfo
    {
        public Category Category { get; set; }
    }
    public class DownLoadInfo
    {
        public Category Category { get; set; }
    }
    #endregion

    #region 发送邮件实体
    public class EmailModel
    {
        public string firstName { get; set; }
        public string lastName { get; set; }
        public string email { get; set; }
        public string phone { get; set; }
        public string jobtitle { get; set; }
        public string company { get; set; }
        public string country { get; set; }
        public string message { get; set; }
    }
    #endregion
}
